#coding:utf8

from libjade import *

dir_root=cwd()
dir_pages=join(dir_root, 'pages')
dir_urls=join(dir_root, 'urls')
dir_archive=join(dir_root, 'archive')
dir_state=join(dir_root, 'state')

dirs=smap_dict('dir_root dir_pages dir_urls dir_archive dir_state', locals())

infotxt='.info.txt'
	
def dump_state():
	jsonwrite(conf, fp_state)

def reload_state():
	global conf
	conf=jsonread(fp_state)
	
if __name__=='__main__':
	pass
	
	
	
	
	
	
	
	
	
	
	